<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>首饰订单-大正</title>
</head>

<body>
	<span
		style="font-weight: bold; color:#F93; aligh: center; font-size: 20px">
		首饰订单-修改
	</span>

	<s:form action="jeworderaction?action=add" theme="simple">
	<table width="800px">
	<tr>
		<td width="30%">订单号:<s:textfield name="id" label='编号' readOnly="true" value="%{#request.cirecord.id}"/> </td>
		<td width="20%">制单人:<s:textfield name="maker" readOnly="true" label='制单人' value="%{#request.maker}"/> </td>
		<td width="30%">制单时间:<s:textfield name="subtime" label='制单时间' readOnly="true" value="%{#request.subtime}"/> </td>
		<td width="20%">状态:<s:textfield name="status" label='编号' readOnly="true" value="%{#request.status}"/> </td>
	</tr>
	<tr>
		<td>客户：<s:select name="clientid" width="8%" label="用户列表" list="#request.cilist" listKey="id" listValue="name" headerKey="" headerValue="" value="%{#request.cirecord.clientid}"/>
		<s:textfield name="clientex" label='用户名称' size="8%" value="%{#request.cirecord.clientex}"/></td>
		<td>产品类别：<s:textfield name="prodtype" label="地址" value="%{#request.cirecord.prodtype}"/></td>
		<td>金属成色：<s:textfield name="metalper" label='金属成色' value="%{#request.cirecord.metalper}"/></td>
		<td>金价：<s:textfield name="goldprice" label='金价' value="%{#request.cirecord.goldprice}"/></td>
	</tr>
	<tr>
		<td>字印：<s:textfield name="charprint" label='字印' value="%{#request.cirecord.charprint}"/></td>
		<td>预付金额：<s:textfield name="prepay" label='预付金额' value="%{#request.cirecord.prepay}"/></td>
		<td>出货日期：<s:textfield name="outdate" label='出货日期'><s:param name="value" value="%{#request.cirecord.outdate}"><s:date name="outdate" format="yyyy-MM-dd" /></s:param></s:textfield></td>
		<td>接单人：<s:select name="receiverid" width="8%" label="接单人" list="#request.usrlist" listKey="id" listValue="name" headerKey="" headerValue="" value="%{#request.cirecord.receiverid}"/></td>
	</tr>
	<tr>
		<td colspan="5">备注：<s:textfield name="note" label="备注" size="100%"/></td>
	</tr>
	<tr>
		<td colspan="5"><s:submit value="提交"></s:submit></td>
	</tr>
	</table>
	</s:form>
	
	<s:else>
		<s:form action="clientinfoaction?action=mod">
			<s:hidden name="type" value="%{#request.cirecord.type}"></s:hidden>
			<s:textfield name="id" label='编号' readOnly="true"
				value="%{#request.cirecord.id}"></s:textfield>
			<s:textfield name="name" label='名称' value="%{#request.cirecord.name}"></s:textfield>
			<s:textarea name="address" label="地址" cols="40" rows="10"
				value="%{#request.cirecord.name}" />
			<s:textfield name="postcode" label='邮编'
				value="%{#request.cirecord.postcode}"></s:textfield>
			<s:textfield name="phone" label='电话'
				value="%{#request.cirecord.phone}"></s:textfield>
			<s:textfield name="fax" label='传真' value="%{#request.cirecord.fax}"></s:textfield>
			<s:textfield name="contact" label='联系人'
				value="%{#request.cirecord.contact}"></s:textfield>
			<s:textfield name="homepage" label='主页'
				value="%{#request.cirecord.homepage}"></s:textfield>
			<s:textfield name="email" label='邮箱'
				value="%{#request.cirecord.email}"></s:textfield>
			<s:textfield name="bank" label='银行' value="%{#request.cirecord.bank}"></s:textfield>
			<s:textfield name="acount" label='银行账号'
				value="%{#request.cirecord.acount}"></s:textfield>
			<s:textarea name="note" label="备注" cols="40" rows="10"
				value="%{#request.cirecord.note}" />
			<s:submit value="提交"></s:submit>
		</s:form>
	</s:else>
</body>
</html>
